public class d {
    public static void main(String[] args) {
        for (int i = 0; i <=7; i++) {
            System.out.println(i);
            System.out.println();
            System.out.println("111111");
            System.out.println("222222");
        }
    }
}
